SDK/J Authentication Package ver1.0
RICOH Confidential

jp.co.ricoh.dsdk.scard.framework.card
Class Card.Info

java.lang.Object
  extended byjp.co.ricoh.dsdk.scard.framework.card.Card.Info
Enclosing class:
Card

public class Card.Info
extends java.lang.Object

This is the class that encapsulates card information.


Field Summary
static int PROTOCOL_RAW
           RAW Data.
static int PROTOCOL_T0
           T0 Protocol.
static int PROTOCOL_T1
           T1 Protocol.
 
Method Summary
 byte[] getAtr()
           Obtains the ATR.
 int getProtocol()
           Obtains the protocol.
 Slot getSlot()
           Obtains the slot.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROTOCOL_T0

public static final int PROTOCOL_T0
T0 Protocol.

See Also:
Constant Field Values

PROTOCOL_T1

public static final int PROTOCOL_T1
T1 Protocol.

See Also:
Constant Field Values

PROTOCOL_RAW

public static final int PROTOCOL_RAW
RAW Data.

See Also:
Constant Field Values
Method Detail

getAtr

public byte[] getAtr()
              throws CardAccessException
Obtains the ATR.

Returns:
a byte array of the ATR.
Throws:
CardAccessException - when an error has occurred in the obtainment of the ATR.

getProtocol

public int getProtocol()
                throws CardAccessException
Obtains the protocol.

Returns:
the protocol code.
Throws:
CardAccessException - when an error has occurred in the obtainment of the protocol.
See Also:
PROTOCOL_T0, PROTOCOL_T1, PROTOCOL_RAW

getSlot

public Slot getSlot()
             throws CardAccessException
Obtains the slot.

Returns:
the slot.
Throws:
CardAccessException - when an error has occurred in the obtainment of the slot.

SDK/J Authentication Package ver1.0
RICOH Confidential